package org.jeecg.chase.common.result;

/**
 * @author leikai
 * @version 1.0
 * @description: 返回对象
 * @date 2021/07/23/0023 15:45
 */
public class BaseResult {
    /**
     * 请求响应状态：1成功 -1失败
     */
    private Integer status = 1;
    /**
     * 状态码，默认为200
     */
    private String code = "200";
    /**
     * 返回结果描述信息，默认为ok
     */
    private String msg = "ok";

    public BaseResult() {
    }

    public BaseResult(Integer status) {
        this.status = status;
    }

    public BaseResult(Integer status, String code, String msg) {
        this.status = status;
        this.code = code;
        this.msg = msg;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
